﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Controls="clr-namespace:WpfRcp.Controls;assembly=WpfRcp.Controls">

    <Style TargetType="{x:Type Controls:TimePicker}">
        <Setter Property="BorderBrush" Value="{DynamicResource NumericSpinnerBorder}" />
        <Setter Property="Background" Value="{DynamicResource NumericSpinnerBackground}" />
        <Setter Property="Foreground" Value="{DynamicResource NumericSpinnerForeground}" />
        <Setter Property="BorderThickness" Value="1" />
        <Style.Triggers>
            <Trigger Property="IsEnabled" Value="False">
                <Setter Property="Background" Value="{DynamicResource NumericSpinnerDisabledBackground}" />
                <Setter Property="BorderBrush" Value="{DynamicResource NumericSpinnerDisabledBorder}" />
            </Trigger>
        </Style.Triggers>
    </Style>
    
</ResourceDictionary>